import { request } from "@/utils/service"
/** 增 */
export function addDyLive(data: any) {
  return request({
    url: "/dyLive/add",
    method: "post",
    data
  })
}
// 查
export function getDyLive(params: any) {
  return request({
    url: "/dyLive/query",
    method: "get",
    params
  })
}
// 查 不分页
export function getDyLiveAll(params: any) {
  return request({
    url: "/dyLive/queryAll",
    method: "get",
    params
  })
}
// 删除
export function delDyLive(id: string) {
  return request({
    url: "/dyLive/del",
    method: "delete",
    params: {
      dyId: id
    }
  })
}
// 改
export function putDyLive(data: any) {
  return request({
    url: "/dyLive/update",
    method: "put",
    data
  })
}
